package org.zephyr.struct.adapter.ex;

public class TestMain {
    public static void main(String[] args) {
        Motor motor=new ElectricAdapter();
        motor.drive();

        Motor motor1=new OpticalAdapter();
        motor1.drive();
    }
}
